Interface ICallGateSubscriber<T1, T2, T3, T4, T5, T6, T7, T8, TRet>
This class facilitates inter-plugin communication.
Assembly: Dalamud.dll
View Source
Declaration
public interface ICallGateSubscriber<T1, T2, T3, T4, T5, T6, T7, T8, TRet>
Methods
Subscribe(Action<T1, T2, T3, T4, T5, T6, T7, T8>)
Subscribe an expression to this registration.
View Source
Declaration
void Subscribe(Action<T1, T2, T3, T4, T5, T6, T7, T8> action)
Parameters
Type | Name | Description |
---|---|---|
System.Action<<T1>,<T2>,<T3>,<T4>,<T5>,<T6>,<T7>,<T8>> | action | Action to subscribe. |
Unsubscribe(Action<T1, T2, T3, T4, T5, T6, T7, T8>)
Unsubscribe an expression from this registration.
View Source
Declaration
void Unsubscribe(Action<T1, T2, T3, T4, T5, T6, T7, T8> action)
Parameters
Type | Name | Description |
---|---|---|
System.Action<<T1>,<T2>,<T3>,<T4>,<T5>,<T6>,<T7>,<T8>> | action | Action to unsubscribe. |
InvokeAction(T1, T2, T3, T4, T5, T6, T7, T8)
Invoke an action registered for inter-plugin communication.
View Source
Declaration
void InvokeAction(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)
Parameters
Type | Name |
---|---|
<T1> | arg1 |
<T2> | arg2 |
<T3> | arg3 |
<T4> | arg4 |
<T5> | arg5 |
<T6> | arg6 |
<T7> | arg7 |
<T8> | arg8 |
Exceptions
Dalamud.Plugin.Ipc.Exceptions.IpcNotReadyError
This is thrown when the IPC publisher has not registered an action for calling yet.
InvokeFunc(T1, T2, T3, T4, T5, T6, T7, T8)
Invoke a function registered for inter-plugin communication.
View Source
Declaration
TRet InvokeFunc(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)
Returns
<TRet>
: The return value.
Parameters
Type | Name |
---|---|
<T1> | arg1 |
<T2> | arg2 |
<T3> | arg3 |
<T4> | arg4 |
<T5> | arg5 |
<T6> | arg6 |
<T7> | arg7 |
<T8> | arg8 |
Exceptions
Dalamud.Plugin.Ipc.Exceptions.IpcNotReadyError
This is thrown when the IPC publisher has not registered a func for calling yet.